#include <jni.h>
#include <string>
// 头文件
#include "android/log.h"

//定义输出的TAG
const char *LOG_TGA_2 = "LOG_TGA-2";
extern "C"
JNIEXPORT jstring JNICALL
Java_com_dingqb_ndkbase_LocalNative_stringFromJNI2(JNIEnv *env, jobject thiz) {
    // TODO: implement stringFromJNI2()
    std::string hello = "Hello from C++ native-lib-2";
    return env->NewStringUTF(hello.c_str());
}